package com.wisezone.workflow.dao.hibernate;

import com.wisezone.common.dao.impl.BaseHibernateDaoImpl;
import com.wisezone.workflow.dao.WfLinkDao;
import com.wisezone.workflow.exception.WfDaoException;

/**
 * hiberante 链接实现类
 * @author tss 2009-09-05
 * 
 */
public class WfLinkDaoImpl extends BaseHibernateDaoImpl implements WfLinkDao {

    public WfLinkDaoImpl() {
        super();
    }

	/**
	 * 根据流程模板Id删除
	 * @param id
	 * @throws WfDaoException
	 */
   public void deleteByProcessDefId(Long id) throws WfDaoException{
	   
	    String hql = "delete from WfLink t where t.processDefId = ? ";
     	this.execute(hql,id);
   }	


 

   
   

   
}